import request from '@/utils/request'

export function selectPersonnelAll(data) {
    return request({
        url: '/personnel/selectPersonnel',
        method: 'post',
        params: data
    })
};

export function addPersonnel(data) {
    return request({
        url: '/personnel/addPersonnel',
        method: 'post',
        params: data
    })
};

export function updatePersonnel(data) {
    return request({
        url: '/personnel/updatePersonnel',
        method: 'post',
        params: data
    })
};

export function deletePersonnel(data) {
    return request({
        url: '/personnel/deletePersonnel',
        method: 'post',
        params: data
    })
};